package com.letv.mq;

import com.alibaba.fastjson.JSON;

/**
 * 表示mq队列里的消息内容
 * 
 * 
 */
public class MQMessage{
	private String action;
	private String id;
	private String type;
	private String rowkey;

	public String getRowkey() {
		return rowkey;
	}

	public void setRowkey(String rowkey) {
		this.rowkey = rowkey;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
